Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Module Persona #1109

Merged
merged 28 commits into from
Feb 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f6b9277
Remove global and unindent the CSS code.
lijunle Feb 22, 2017
1c5d701
liaye
ipip2005 Feb 22, 2017
c49250a
change css to module css about persona
qingboliums Feb 22, 2017
49f6773
update sass from 229-416
zeedomD Feb 22, 2017
b52849e
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
qingboliums Feb 22, 2017
2b6e1c6
change sass before 227
ipip2005 Feb 22, 2017
dac236c
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
ipip2005 Feb 22, 2017
c5ce319
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
zeedomD Feb 22, 2017
c2ec4bf
Convert the CSS to Module CSS.
lijunle Feb 22, 2017
5af5fb7
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
lijunle Feb 22, 2017
3467506
change sm, lg, xl
qingboliums Feb 22, 2017
bfcfffc
Update the Persona.tsx reference.
lijunle Feb 22, 2017
13d431d
change constants
ipip2005 Feb 22, 2017
fd57ac6
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
lijunle Feb 22, 2017
837cc14
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
ipip2005 Feb 22, 2017
def0906
update persona.tsx return part
zeedomD Feb 22, 2017
6066416
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
zeedomD Feb 22, 2017
28a8a01
change persona.test.tsx to use module css.
qingboliums Feb 22, 2017
44f9c5e
update css styles
zeedomD Feb 22, 2017
7c79dae
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
qingboliums Feb 22, 2017
0e3b732
add '.' for find class for persona.
qingboliums Feb 22, 2017
f5e20be
Merge branch 'master' into master
micahgodbolt Feb 23, 2017
2e00797
Merge branch 'master' of https://github.com/ipip2005/office-ui-fabric…
micahgodbolt Feb 24, 2017
6ace982
Updated persona classes, added on render function for initials
micahgodbolt Feb 24, 2017
e6069f8
Merge css module branch back in
micahgodbolt Feb 27, 2017
64a6c2a
Fixed rooIsReadOnly
micahgodbolt Feb 27, 2017
934808f
Fixed a missed merge conflict
micahgodbolt Feb 27, 2017
a2f99f0
CLeaned up duplicate getInitials function
micahgodbolt Feb 27, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from 'react';
import { IRenderFunction } from '../../Utilities';
import { Persona } from './Persona';

export interface IPersonaProps extends React.HTMLProps<Persona> {
Expand Down Expand Up @@ -29,6 +30,11 @@ export interface IPersonaProps extends React.HTMLProps<Persona> {
*/
imageInitials?: string;

/**
* Optional custom renderer for the initials
*/
onRenderInitials?: IRenderFunction<IPersonaProps>;

/**
* The background color when the user's initials are displayed.
* @defaultvalue [Derived from primaryText]
Expand Down
Loading