mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Add styles example to 2.3 demo
This commit is contained in:
@@ -15,7 +15,14 @@ export const TodoFooter = (props: TodoFooterProps) => {
|
||||
<Text>
|
||||
{itemCount} item{itemCount === 1 ? '' : 's'} left
|
||||
</Text>
|
||||
<DefaultButton onClick={() => props.clear()}>Clear Completed</DefaultButton>
|
||||
<DefaultButton
|
||||
onClick={() => props.clear()}
|
||||
styles={{
|
||||
root: { fontStyle: 'oblique' }
|
||||
}}
|
||||
>
|
||||
Clear Completed
|
||||
</DefaultButton>
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user